package org.zjvis.graph.analysis.service.mapper;

import org.zjvis.graph.analysis.service.dto.GraphInstanceDTO;

public interface GraphInstanceMapper {
    boolean save(GraphInstanceDTO graph);

    boolean update(GraphInstanceDTO graph);

    GraphInstanceDTO queryLatestInstanceByGraphId(Long graphId);

    GraphInstanceDTO queryById(Long id);
}
